package io.renren.dao;

import io.renren.common.dao.BaseDao;
import io.renren.common.entity.XlsUserAwardEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * 用户奖励表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-03-28
 */
@Mapper
public interface XlsUserAwardDao extends BaseDao<XlsUserAwardEntity> {

    void updateAward(@Param("xlsUserId") long xlsUserId,@Param("awardPrice") BigDecimal awardPrice);

    XlsUserAwardEntity selectUserAwardByUserId(@Param("userId") Long userId);
}